<style type="text/css">
    .sm-st {
        background: #fff;
        padding: 20px;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        margin-bottom: -30px;
    }
    .col-sm-3{
        width: 15%;
    }
    .sm-st-icon {
        width: 60px;
        height: 60px;
        display: inline-block;
        line-height: 50px;
        text-align: center;
        font-size: 20px;
        background: #eee;
        -webkit-border-radius: 5px;
        -moz-border-radius: 5px;
        border-radius: 5px;
        float: left;
        margin-right: 10px;
        color: #fff;
    }

    .sm-st-info {
        padding-top: 2px;
    }

    .sm-st-info span {
        display: block;
        font-size: 24px;
        font-weight: 600;
    }

    .orange {
        background: #fa8564 !important;
    }

    .tar {
        background: #45cf95 !important;
    }

    .sm-st .green {
        background: #86ba41 !important;
    }

    .pink {
        background: #AC75F0 !important;
    }

    .yellow-b {
        background: #fdd752 !important;
    }

    .stat-elem {

        background-color: #fff;
        padding: 18px;
        border-radius: 40px;

    }

    .stat-info {
        text-align: center;
        background-color: #fff;
        border-radius: 5px;
        margin-top: -5px;
        padding: 8px;
        -webkit-box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 0px rgba(0, 0, 0, 0.05);
        font-style: italic;
    }

    .stat-icon {
        text-align: center;
        margin-bottom: 5px;
    }

    .st-red {
        background-color: #F05050;
    }

    .st-green {
        background-color: #27C24C;
    }

    .st-violet {
        background-color: #7266ba;
    }

    .st-blue {
        background-color: #23b7e5;
    }

    .stats .stat-icon {
        color: #28bb9c;
        display: inline-block;
        font-size: 26px;
        text-align: center;
        vertical-align: middle;
        width: 50px;
        float: left;
    }

    .stat {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        display: inline-block;
    }

    .stat .value {
        font-size: 20px;
        line-height: 24px;
        overflow: hidden;
        text-overflow: ellipsis;
        font-weight: 500;
    }

    .stat .name {
        overflow: hidden;
        text-overflow: ellipsis;
        margin: 5px 0;
    }

    .stat.lg .value {
        font-size: 26px;
        line-height: 28px;
    }

    .stat-col {
        margin:0 0 10px 0;
    }
    .stat.lg .name {
        font-size: 16px;
    }

    .stat-col .progress {
        height: 2px;
    }

    .stat-col .progress-bar {
        line-height: 2px;
        height: 2px;
    }

    .item {
        padding: 30px 0;
    }


    #statistics .panel {
        min-height: 150px;
    }

    #statistics .panel h5 {
        font-size: 14px;
    }
</style>
<div class="panel panel-default panel-intro">
    <div class="panel-heading">
        {:build_heading(null, false)}
        <ul class="nav nav-tabs">
            <li class="active"><a href="#one" style="color:#0d0d0d" data-toggle="tab">{:__('Dashboard')}</a></li>
            <li><a href="{:url('goods/goods/add')}" class="btn-addtabs" data-title="发布商品" style="color:#0d0d0d">{:__('发布商品')}</a></li>
            <li><a href="{:url('certification/UserShop/index')}" class="btn-addtabs" style="color:#0d0d0d" data-title="安装店审核">{:__('安装店审核')}</a></li>
            <li><a href="{:url('certification/UserAgent/index')}" class="btn-addtabs" style="color:#0d0d0d" data-title="代理商审核">{:__('代理商审核')}</a></li>
            <li><a href="{:url('goods/Brand/index')}" class="btn-addtabs" style="color:#0d0d0d" data-title="品牌管理">{:__('品牌管理')}</a></li>
        </ul>
    </div>
    <div class="panel-body" style="white-space: nowrap; overflow: hidden; overflow-x: scroll; -webkit-backface-visibility: hidden; -webkit-overflow-scrolling: touch;">

        <div class="row">
                <table class="table table-bordered">
                    <thead>
                        <tr style="font-size: 1.8rem;background-color: #f1f205;">
                            <th><span> 订单管理</span></th>
                            <th>累计订单总数: {$orderCount}</th>
                            <th>当月订单数: {$orderCountmonth}</th>
                            <th>当年订单数: {$orderCountyear}</th>
                        </tr>
                        <tr>
                            <th colspan="4">
                                <div class="col-md-2" style="font-size: 1.6rem;">{$countOrder}</div>
                                <div class="col-md-2" style="font-size: 1.6rem;">{$behalfcountOrder}</div>
                                <div class="col-md-2" style="font-size: 1.6rem;">{$salescountOrder}</div>
                                <div class="col-md-2" style="font-size: 1.6rem;">{$evaluation}</div>
                            </th>
                        </tr>
                        <tr>
                            <th colspan="4">
                                <div class="col-md-2"><a href="{:url('order/order/index')}?status=0"><span style="text-align:center;font-size: 1.6rem; color: #0d0d0d">待付款</span></a></div>
                                <div class="col-md-2"><a href="{:url('order/order/index')}?status=1"><span style="text-align:center;font-size: 1.6rem; color: #0d0d0d">待发货</span></a></div>
                                <div class="col-md-2"><a href="{:url('order/sale/index')}?status=0"><span style="text-align:center;font-size: 1.6rem; color: #0d0d0d">待售后</span></a></div>
                                <div class="col-md-2"><a href="{:url('order/order/index')}?status = 4"><span style="text-align:center;font-size: 1.6rem; color: #0d0d0d">待评论</span></a></div>
                            </th>
                        </tr>
                    </thead>
                </table>
            </div>

        <div class="row">
            <table class="table table-bordered">
                <thead>
                    <tr style="font-size: 1.6rem; background-color: #f1f205 ">
                        <th width="100px;">
                            交易状况
                        </th>

                        <th width="150px;">
                            累计交易金额：
                        </th>
                        <th>
                           {$tradingprice}
                        </th>
                        <th width="140px;">
                            累计访客数：
                        </th>
                        <th >
                            {$httpIpcount}
                        </th>
                        <th width="140px;">
                            总转换率
                        </th>
                        <th>
                            {$conversion}%
                        </th>
                        <th width="140px;">
                            总客单价:
                        </th>
                        <th>
                            {$unitprice}
                        </th>
                    </tr>
                    <tr style="font-size: 1.6rem">
                        <!--<th width="1.8rem;"></th>-->
                           <th style="text-align:left;background-color: #808080"> 时间</th>
                        <th style="text-align: center;background-color: #808080"> 支付金额</th>
                        <th style="text-align: center;background-color: #808080"> 支付转化率</th>
                        <th style="text-align: center;background-color: #808080"> 支付子订单数</th>
                        <th style="text-align: center;background-color: #808080"> 客单价</th>
                        <th style="text-align: center;background-color: #808080"> 退款额</th>
                        <th style="text-align: center;background-color: #808080"> 安装店交易</th>
                        <th style="text-align: center;background-color: #808080"> 代理商交易</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <!--<th width="1rem;" style="text-align: right;"></th>-->
                          <th style="text-align:left;">实时</th>
                        <th style="text-align: center;">{$orderzf}</th>
                        <th style="text-align: center;">  {$paymentprice}%</th>
                        <th style="text-align: center;"> {$ordergoods}</th>
                        <th style="text-align: center;"> {$kdjprice}</th>
                        <th style="text-align: center;"> {$tkprice}</th>
                        <th style="text-align: center;"> {$shop_price}</th>
                        <th style="text-align: center;"> {$agent_price}</th>
                    </tr>
                </thead>

                <tbody>
                    <tr style="font-size: 1.6rem;" >
                        <th style="text-align: left;">昨日</th>
                        <th style="text-align: center;">{$orderzfyesterday}</th>
                        <th style="text-align:center;">{$orderNumyesterday}</th>
                        <th style="text-align:center;">{$ordergoodsyesterday}</th>
                        <th style="text-align: center;">{$kdjpriceyesterday}</th>
                        <th style="text-align: center;">{$tkpriceyesterday}</th>
                        <th style="text-align: center;">{$shop_pricetodayyesterday}</th>
                        <th style="text-align: center;">{$agent_priceyesterday}</th>

                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align:left;">周</th>
                        <th style="text-align: center;">{$orderzfweek}</th>
                        <th style="text-align: center;">{$orderNumweek}</th>
                        <th style="text-align: center;">{$ordergoodsweek}</th>
                        <th style="text-align: center;">{$kdjpriceweek}</th>
                        <th style="text-align: center;">{$tkpriceweek}</th>
                        <th style="text-align: center;">{$shop_pricetodayweek}</th>
                        <th style="text-align: center;">{$agent_priceweek}</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align:left;">月</th>
                        <th style="text-align:center;">{$orderzfmonth}</th>
                        <th style="text-align: center;">{$orderNummonth}</th>
                        <th style="text-align: center;">{$ordergoodsmonth}</th>
                        <th style="text-align: center;">{$kdjpricemonth}</th>
                        <th style="text-align: center;">{$tkpricemonth}</th>
                        <th style="text-align: center;">{$shop_pricetodaymonth}</th>
                        <th style="text-align: center;">{$agent_pricemonth}</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align: left;width:100px;" >年</th>
                        <th style="text-align: center;">{$orderzfyear}</th>
                        <th style="text-align: center;">{$orderNummonth}</th>
                        <th style="text-align: center;">{$ordergoodsyear}</th>
                        <th style="text-align: center;">{$kdjpriceyear}</th>
                        <th style="text-align: center;">{$tkpriceyear}</th>
                        <th style="text-align: center;">{$shop_pricetodayyear}</th>
                        <th style="text-align: center;">{$agent_priceyear}</th>
                    </tr>
                </tbody>
            </table>

            <table class="table table-bordered">
                <thead>
                    <tr style="font-size: 1.5rem;">
                        <!--<th>&nbsp;</th>-->
                             <!--<th style="text-align:left;">时间</th>-->
                              <th  style="text-align: left;background-color: #808080">时间</th>
                        <th  style="text-align: center;background-color: #808080">访客数</th>
                        <th  style="text-align: center;background-color: #808080">浏览量</th>
                        <th  style="text-align: center;background-color: #808080">加购人数</th>
                        <th  style="text-align: center;background-color: #808080">支付买家数</th>
                        <th  style="text-align: center;background-color: #808080">收藏人数</th>
                        <th  style="text-align: center;background-color: #808080">收藏商品数</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <!--<th>&nbsp;</th>-->
                         <th style="text-align:left;">实时</th>
                        <th  style="text-align: center;">{$httpIpcount}</th>
                        <th  style="text-align: center;">{$fk_count}</th>
                        <th  style="text-align: center;">{$userorder}</th>
                        <th  style="text-align: center;">{$userordergm}</th>
                        <th  style="text-align: center;">{$usersc}</th>
                        <th  style="text-align: center;">{$usergidsc}</th>
                    </tr>
                </thead>
                <tbody>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align:left;">昨日</th>
                        <th style="text-align: center;">{$yesterday}</th>
                        <th style="text-align: center;">{$browseyesterday}</th>
                        <th style="text-align: center;">{$userorderyesterday}</th>
                        <th style="text-align:center;">{$userordergmyesterday}</th>
                        <th style="text-align: center;">{$userscyesterday}</th>
                        <th style="text-align: center;">{$usergidscyesterday}</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align: left;">周</th>
                        <th style="text-align: center;">{$httpweek}</th>
                        <th style="text-align: center;">{$browseweek}</th>
                        <th style="text-align: center;">{$userorderweek}</th>
                        <th style="text-align: center;">{$userordergmweek}</th>
                        <th style="text-align: center;">{$userscweek}</th>
                        <th style="text-align: center;">{$usergidscweek}</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align: left;">月</th>
                        <th style="text-align: center;">{$httpmonth}</th>
                        <th style="text-align: center;">{$browsemonth}</th>
                        <th style="text-align: center;">{$userordermonth}</th>
                        <th style="text-align: center;">{$userordergmonth}</th>
                        <th style="text-align: center;">{$userscyear}</th>
                        <th style="text-align: center;">{$usergidscmonth}</th>
                    </tr>
                    <tr style="font-size: 1.6rem;">
                        <th style="text-align: left;">年</th>
                        <th style="text-align: center;">{$httpyear}</th>
                        <th style="text-align: center;">{$browseyear}</th>
                        <th style="text-align: center;">{$userorderyear}</th>
                        <th style="text-align: center;">{$userordergmyear}</th>
                        <th style="text-align: center;">{$userscyear}</th>
                        <th style="text-align: center;">{$usergidscyear}</th>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="row">
            <table class="table table-bordered">
                <thead>
                    <tr style="background-color: #f1f205; font-size: 1.6rem">
                        <th colspan="5">
                            用户状况
                        </th>
                        <th></th>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                    <tr style="font-size:1.8rem;" >
                        <th width="100">&nbsp;</th>
                        <th width="100" style="background-color: #808080">车主总数</th>
                        <th width="100" style="background-color: #808080">安装店总数</th>
                        <th width="100" style="background-color: #808080">代理商总数</th>
                        <th width="100" style="background-color: #808080">区域代理商</th>
                        <th></th>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                    <tr style="font-size:1.8rem;">
                        <th>&nbsp;</th>
                        <th>{$usercar}</th>
                        <th>{$usershop}</th>
                        <th>{$useragent}</th>
                        <th>{$useragentq}</th>
                        <th></th>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                </thead>
                <tbody>
                    <tr style="font-size:1.8rem;">
                        <td>新增</td>
                        <td>{$usercartoday}</td>
                        <td>{$usershoptoday}</td>
                        <td>{$useragenttoday}</td>
                        <td>{$useragentqtoday}</td>
                        <th></th>
                        <th></th>
                        <th></th>
                        <th></th>
                    </tr>
                </tbody>
            </table>
        </div>

        <div class="row">
            <table class="table table-bordered">
                <thead>
                    <tr style="font-size: 1.8rem; background-color: #f1f205;">
                        <th width="100">商品状况</th>
                        <th width="100">&nbsp;</th>
                        <th style="text-align:right;" width="100">商品总数：</th>
                        <th width="100">{$goodscount}</th>
                        <th style="text-align:right;" width="100">销售总件数：</th>
                        <th width="100">{$goodsnum}</th>
                        <th></th>
                    </tr>
                </thead>
            </table>
        </div>

        <div class="row">
            <table class="table table-bordered">
                <thead>
                    <tr style="font-size: 1.8rem; background-color: #f1f205;">
                        <th width="100">品牌状况</th>
                        <th width="100">&nbsp;</th>
                        <th style="text-align:right;" width="100">品牌总数：</th>
                        <th width="100">{$brandcount}</th>
                        <th width="100" style="text-align:right;">商品总件数：</th>
                        <th width="100">{$goodscount}</th>
                        <th width="100" style="text-align:right;">销售总件数：</th>
                        <th width="100">{$ordergoodsnum}</th>
                        <th></th>
                    </tr>
                </thead>
            </table>
        </div>
    </div>
</div>